package org.pausd.gunn.compsci;

/**
 * A class which is capable of sending and receiving messages over the network.
 * @author CodyS
 *
 */
public interface Messager {
	/**
	 * Sends a message over the network
	 * @param s The message to be sent
	 */
	public void send(String s);
	/**
	 * This is called when the network listener receives a message, and this should parse and
	 * tell the game to do something (usually just call one method for each command).
	 * @param s
	 */
	public void receive(String s);
}
